projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c3d6a
)
Add a deprecation note
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 24 May 2016 00:40:03 +0000
(20:40 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 24 May 2016 00:40:03 +0000
(20:40 -0400)
Mark GtkWidget:style property as deprecated in the docs.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 36752b4fdb93711028a6ab16c991a56492e21994..5b0e2804510b01a350c45cf7c96c4fb18c45a196 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-1239,6
+1239,13
@@
gtk_widget_class_init (GtkWidgetClass *klass)
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+ /**
+ * GtkWidget:style:
+ *
+ * The style of the widget, which contains information about how it will look (colors, etc).
+ *
+ * Deprecated: Use #GtkStyleContext instead
+ */
widget_props[PROP_STYLE] =
g_param_spec_object ("style",
P_("Style"),